<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/8/3
 * Time: 17:42
 */

namespace app\modules\backed\controllers;

use Yii;
class RabcController extends BaseController
{
    public function actionIndex()
    {
        $auth = Yii::$app->authManager;
        $authorRole = $auth->getRole('author');
        var_dump($authorRole);

   }
}